import React,{Component} from 'react'
import { Result, Button } from 'antd';

class NotFound extends Component{
    render () {
        return(
            <div style={{height:'100%',display:'flex'}}>
                <Result
                    style={{margin:'auto'}}
                    status="404"
                    title="404"
                    subTitle="页面走丢了？点击返回首页！"
                    extra={<Button type="primary"><a href='/#/home'>返回首页</a></Button>}
                />
            </div>
        )
    }
}
export default NotFound
